package com.wzq.mapper;

import com.wzq.dao.dto.MemberDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzq.dao.pojo.Member;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yzc
 * @since 2022-08-31
 */
@Mapper
public interface Membermapper extends BaseMapper<Member> {

    //根据项目ID查询该项目下的成员信息
    List<MemberDto> SelectMenberByPid(Integer p_id);

    int AddmMember(@Param("w_id") String w_id,@Param("p_id") String p_id);
}
